package com.atguigu.gmall.search.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@ApiModel("检索属性")
@JsonIgnoreProperties(value = "_class")
public class SearchAttrValue {
    @Field(type = FieldType.Long)
    private Long attrId;
    @Field(type = FieldType.Keyword)
    private String  attrName;
    @Field(type = FieldType.Keyword)
    private String  attrValue;
}
